package shopping.stock.call.configuration;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RoundRobinRule;
import org.springframework.context.annotation.Bean;

/**
 * 这是一个 ribbon config 配置类
 *
 * @author lihh
 */
public class RibbonRoundConfiguration {
  @Bean
  public IRule ribbonRule() {
    /* 从这里 设置轮训配置 */
    return new RoundRobinRule();
  }
}
